package tour.board.to;

import org.springframework.web.multipart.MultipartFile;

public class UpFile {
	private MultipartFile src;
	
	public UpFile(){}
	public UpFile(MultipartFile src) {
		super();
		this.src = src;
	}
	public MultipartFile getSrc() {
		return src;
	}
	public void setSrc(MultipartFile src) {
		this.src = src;
	}
	@Override
	public String toString() {
		return "UpFile [src=" + src + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((src == null) ? 0 : src.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UpFile other = (UpFile) obj;
		if (src == null) {
			if (other.src != null)
				return false;
		} else if (!src.equals(other.src))
			return false;
		return true;
	}
	
	
}
